# Extract lines containing desired taxonomic group

$ grep -i "Alphaproteobacteria" bac120_taxonomy.tsv > Alphaproteobacteria_tax.txt

# Remove data apart from the protein filenames

$ cat Alphaproteobacteria_tax.txt |colrm 19 > Alphaproteobacteria_codes.txt